﻿@model ModelStateDictionary
@if (!Model.IsValid)
{
	<div class="validation-summary-errors">
		@foreach (var modelError in Model.SelectMany(keyValuePair => keyValuePair.Value.Errors))
  {
			<p>@modelError.ErrorMessage</p>
  }
	</div>
}